var a = require("../../utils/api.js"), e = require("../../wxParse/wxParse.js"), t = getApp();

Page({
    data: {
        showLoding: !0
    },
    onLoad: function(p) {
        var i = this;
        i.setData({
            showLoding: !i.data.showLoding
        }), a.GetApplySupplierSet({
            openid: t.globalData.openid
        }).then(function(a) {
            0 == a.errno && (i.setData({
                apply_supplier_img: a.data.apply_supplier_img.value,
                next_data: a.data.apply_supplier_text.value
            }), e.wxParse("article", "html", a.data.apply_supplier_img.value, i, 5)), i.setData({
                showLoding: !i.data.showLoding
            });
        });
    },
    applysupplier: function() {
        wx.navigateTo({
            url: "/pages/personal/supplier",
            success: function(a) {},
            fail: function(a) {},
            complete: function(a) {}
        });
    }
});